<ion-header>
  <ion-navbar>
    <ion-title>外籍人员入区许可办理</ion-title>
  </ion-navbar>
</ion-header>
<ion-content>
  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text">申请书</span>
    </ion-list-header>
    <ion-item>
        <span class="bhq-title">申请单位名称: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.sdwmc}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">法定代表人: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.fddbrmc}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">地址: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.sqdwdz}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">联系电话: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.sqdwlxdh}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">邮编: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.sqdwlxyb}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">项目名称: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.sxmmc}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">是否有介绍信(函): </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.ijsxName}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">提供活动方案情况: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.shdfaqk}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">是否鉴定合作协议: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.ijdhzxyName}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">协议编号: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.sxybh}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">带队负责人: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.sddfzr}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">职务: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.szw}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">联系电话: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.slxdh}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">人数: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.srs}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">来访时间: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.dlfsj | asDate}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">活动计划时限: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.shdjhsx}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">申请时间: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.xzxksqsj | asDate}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">项目简介: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.sxmjj}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">行政许可申请事项: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.xzxksqsx}}</span>
    </ion-item>
  </ion-list>

  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text">同行人员基本情况</span>
    </ion-list-header>
    <ion-item *ngFor="let item of gzwjryrqxk.editRow.gzplanpersonnel">
      <ion-label class="bhq-content">{{item.yrmc}}({{item.ssfz}})</ion-label>
    </ion-item>
  </ion-list>

  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text">申请人信息</span>
    </ion-list-header>
    <ion-item>
        <span class="bhq-title">委托代理人姓名: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.wtdlrxm}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">身份证号: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.wtdlrsfzh}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">住址: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.wtdlrzz}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">电话: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.wtdlrdh}}</span>
    </ion-item>
  </ion-list>

  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text">申请人信息</span>
    </ion-list-header>
    <ion-item>
        <span class="bhq-title">许可证号: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.slsm}}许受理字{{gzwjryrqxk.editRow.slxh}}第{{gzwjryrqxk.editRow.slbh}}号</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">行政许可审查情况: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.xzxkscqk}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">承办人意见: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.cbryj}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">签批时间: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.cbrsj | asDate}}</span>
    </ion-item>
    <ion-item>
        <span class="bhq-title">签批人: </span>
        <span class="bhq-content">{{gzwjryrqxk.editRow.cbrmc}}</span>
    </ion-item>
    <ion-item class="bhq-last-child" style="height: 80px">
      承办人签字:
      <img src="{{gzwjryrqxk.editRow.chrspqz | asImage}}" height="70px"/>
    </ion-item>
  </ion-list>

  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text" id="tab2">科研科签批</span>
    </ion-list-header>
      <div *ngIf="!gzwjryrqxk.proauth.kssh">
        <ion-item>
          <ion-label class="bhq-content">{{gzwjryrqxk.editRow.sdwspyj}}</ion-label>
        </ion-item>
        <ion-item class="bhq-last-child">
          <ion-label class="bhq-content">签批人: {{gzwjryrqxk.editRow.sbmspr}}</ion-label>
          <ion-label class="bhq-content">时间:{{gzwjryrqxk.editRow.dbmspsj | asDate}}</ion-label>
        </ion-item>
        <!--测试代码-->
        <ion-item class="bhq-last-child" style="height: 80px">
          <!--<ion-icon ios="ios-add" md="md-add" ></ion-icon>-->

        签批人签字:
          <img src="{{gzwjryrqxk.editRow.kyksqqz | asImage}}" height="70px"/>
        </ion-item>
      </div>
      <div *ngIf="gzwjryrqxk.proauth.kssh">
        <ion-item class="bhq-last-child" >
          <ion-label class="bhq-title">签批意见:</ion-label>
          <ion-textarea class="zs-answer-inn" aria-rowspan="5" [(ngModel)]="gzwjryrqxk.editRow.sbmspyj"> </ion-textarea>
         </ion-item>

        <ion-item class="bhq-last-child" >
          <ion-label class="bhq-title">签批人: </ion-label>
          <ion-textarea class="zs-answer-inn" aria-rowspan="5" [(ngModel)]="gzwjryrqxk.editRow.sbmspr"> </ion-textarea>
        </ion-item>

        <ion-item class="bhq-last-child" >
          <ion-label class="bhq-title">签批时间: </ion-label>
          <ion-datetime displayFormat="YYYY-MM-DD" [(ngModel)]="gzwjryrqxk.editRow.dbmspsj" max="2100-10-31"
          cancelText="取消" doneText="确认"></ion-datetime> 

        </ion-item>
        <ion-item class="bhq-last-child" style="height: 80px">
        签批人签字:
          <img src="{{gzwjryrqxk.editRow.kyksqqz | asImage}}" height="70px"/>
          <button ion-button (click)="showPicActionSheet('kyksqqz');">上传</button>
        </ion-item>
      </div>
  </ion-list>

  <ion-list class="approval-list">
    <ion-list-header>
      <span class="approval-list-header-text" id="tab2">办公室主任审核</span>
    </ion-list-header>
    <div *ngIf="!gzwjryrqxk.proauth.bgszrsh">
     
      <ion-item>
        <ion-label class="bhq-content">{{gzwjryrqxk.editRow.sdwspyj}}</ion-label>
      </ion-item>
      <ion-item class="bhq-last-child">
        <ion-label class="bhq-content">签批人: {{gzwjryrqxk.editRow.sdwspr}}</ion-label>
        <ion-label class="bhq-content">时间:{{gzwjryrqxk.editRow.ddwspsj | asDate}}</ion-label>
      </ion-item>
       <ion-item class="bhq-last-child" style="height: 80px">
        签批人签字:
        <img src="{{gzwjryrqxk.editRow.bgssqqz | asImage}}" height="70px"/>
      </ion-item>
    </div>
    <div *ngIf="gzwjryrqxk.proauth.bgszrsh">
      <ion-item class="bhq-last-child" >
        <ion-label class="bhq-title">签批意见:</ion-label>
        <ion-textarea class="zs-answer-inn" aria-rowspan="5" [(ngModel)]="gzwjryrqxk.editRow.sdwspyj"> </ion-textarea>
      </ion-item>

      <ion-item class="bhq-last-child" >
        <ion-label class="bhq-title">签批人: </ion-label>
        <ion-textarea class="zs-answer-inn" aria-rowspan="5" [(ngModel)]="gzwjryrqxk.editRow.sdwspr"> </ion-textarea>
      </ion-item>

      <ion-item class="bhq-last-child" >
        <ion-label class="bhq-title">签批时间: </ion-label>
        <ion-datetime displayFormat="YYYY-MM-DD" [(ngModel)]="gzwjryrqxk.editRow.ddwspsj" max="2100-10-31"
        cancelText="取消" doneText="确认"></ion-datetime> 
      </ion-item>
      <ion-item class="bhq-last-child" style="height: 80px">
        签批人签字:
        <img src="{{gzwjryrqxk.editRow.bgssqqz | asImage}}" height="70px"/>
        <button ion-button (click)="showPicActionSheet('bgssqqz');">上传</button>
      </ion-item>
    </div>
  </ion-list>
</ion-content>

<ion-footer class="bhq-bpm-button">
  <div class="footer-btn" *ngIf="gzwjryrqxk.auth.opt_th" (click)="gzwjryrqxk.getBackTask(null,null);">
    <ion-icon name="arrow-dropleft-circle" style="font-size:2em;color: #5477b0;"></ion-icon>
    <p>退回</p>
  </div>
  <div class="footer-btn" *ngIf="gzwjryrqxk.auth.opt_bc" (click)="gzwjryrqxk.bpmSave(null);">
    <ion-icon name="lock" style="font-size:2em;color: #5477b0;"></ion-icon>
    <p>保存</p>
  </div>
  <div class="footer-btn" *ngIf="gzwjryrqxk.auth.opt_tj" (click)="gzwjryrqxk.getNextTask(null,null);">
    <ion-icon name="arrow-dropright-circle" style="font-size:2em;color: #5477b0;"></ion-icon>
    <p>通过</p>
  </div>
  <!-- <div class="footer-more" (click)="goProcessPage();">...</div> -->
  <div class="footer-btn" (click)="goProcessPage();">
    <ion-icon name="keypad" style="font-size:2em;color: #5477b0;"></ion-icon>
    <p>更多</p>
</div>
</ion-footer>